package com.leenmvc.core.utils.amap;


import java.util.List;

/**
 * @Author: JohnCoding
 * @Description:  高德地图返回JavaBean封装类
 * @date: 2020/5/26 15:29
 */
public class AmapResultVo {


    /**
     * data : {"gid":"01c7b927-9f6f-4d4e-a0b0-7887dcefb3c4","id":"0","page_no":1,"page_size":20,"rs_list":[{"adcode":"0","alert_condition":"","center":"116.48231,39.990177","create_time":"2017-01-16 17:49:51","enable":"false","fixed_date":"","gid":"7a6b40c6-7ba6-47e0-9b30-00354797c623","id":"0","key":"用户key","name":"fencetest","points":"","radius":3000,"repeat":"Mon","time":"11:30,13:15;14:00,17:45","valid_time":"2017-01-22"}],"total_record":1,"fencing_event_list":[{"client_action":"enter","client_status":"in","enter_time":"2017-01-19 16:57:12","fence_info":{"fence_center":"116.47253,39.992912","fence_gid":"31c94518-4145-4a94-9e7d-34cb027b4c96","fence_name":"测试大围栏"}}],"message":"成功","status":0}
     * errcode : 0
     * errmsg : OK
     */

    private DataBean data;
    private int errcode;
    private String errmsg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public static class DataBean {
        /**
         * gid : 01c7b927-9f6f-4d4e-a0b0-7887dcefb3c4
         * id : 0
         * page_no : 1
         * page_size : 20
         * rs_list : [{"adcode":"0","alert_condition":"","center":"116.48231,39.990177","create_time":"2017-01-16 17:49:51","enable":"false","fixed_date":"","gid":"7a6b40c6-7ba6-47e0-9b30-00354797c623","id":"0","key":"用户key","name":"fencetest","points":"","radius":3000,"repeat":"Mon","time":"11:30,13:15;14:00,17:45","valid_time":"2017-01-22"}]
         * total_record : 1
         * fencing_event_list : [{"client_action":"enter","client_status":"in","enter_time":"2017-01-19 16:57:12","fence_info":{"fence_center":"116.47253,39.992912","fence_gid":"31c94518-4145-4a94-9e7d-34cb027b4c96","fence_name":"测试大围栏"}}]
         * message : 成功
         * status : 0
         */

        private String gid;
        private String id;
        private int page_no;
        private int page_size;
        private int total_record;
        private String message;
        private int status;
        private List<RsListBean> rs_list;
        private List<FencingEventListBean> fencing_event_list;

        public String getGid() {
            return gid;
        }

        public void setGid(String gid) {
            this.gid = gid;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getPage_no() {
            return page_no;
        }

        public void setPage_no(int page_no) {
            this.page_no = page_no;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getTotal_record() {
            return total_record;
        }

        public void setTotal_record(int total_record) {
            this.total_record = total_record;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public List<RsListBean> getRs_list() {
            return rs_list;
        }

        public void setRs_list(List<RsListBean> rs_list) {
            this.rs_list = rs_list;
        }

        public List<FencingEventListBean> getFencing_event_list() {
            return fencing_event_list;
        }

        public void setFencing_event_list(List<FencingEventListBean> fencing_event_list) {
            this.fencing_event_list = fencing_event_list;
        }

        public static class RsListBean {
            /**
             * adcode : 0
             * alert_condition :
             * center : 116.48231,39.990177
             * create_time : 2017-01-16 17:49:51
             * enable : false
             * fixed_date :
             * gid : 7a6b40c6-7ba6-47e0-9b30-00354797c623
             * id : 0
             * key : 用户key
             * name : fencetest
             * points :
             * radius : 3000
             * repeat : Mon
             * time : 11:30,13:15;14:00,17:45
             * valid_time : 2017-01-22
             */

            private String adcode;
            private String alert_condition;
            private String center;
            private String create_time;
            private String enable;
            private String fixed_date;
            private String gid;
            private String id;
            private String key;
            private String name;
            private String points;
            private int radius;
            private String repeat;
            private String time;
            private String valid_time;

            public String getAdcode() {
                return adcode;
            }

            public void setAdcode(String adcode) {
                this.adcode = adcode;
            }

            public String getAlert_condition() {
                return alert_condition;
            }

            public void setAlert_condition(String alert_condition) {
                this.alert_condition = alert_condition;
            }

            public String getCenter() {
                return center;
            }

            public void setCenter(String center) {
                this.center = center;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getEnable() {
                return enable;
            }

            public void setEnable(String enable) {
                this.enable = enable;
            }

            public String getFixed_date() {
                return fixed_date;
            }

            public void setFixed_date(String fixed_date) {
                this.fixed_date = fixed_date;
            }

            public String getGid() {
                return gid;
            }

            public void setGid(String gid) {
                this.gid = gid;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPoints() {
                return points;
            }

            public void setPoints(String points) {
                this.points = points;
            }

            public int getRadius() {
                return radius;
            }

            public void setRadius(int radius) {
                this.radius = radius;
            }

            public String getRepeat() {
                return repeat;
            }

            public void setRepeat(String repeat) {
                this.repeat = repeat;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getValid_time() {
                return valid_time;
            }

            public void setValid_time(String valid_time) {
                this.valid_time = valid_time;
            }
        }

        public static class FencingEventListBean {
            /**
             * client_action : enter
             * client_status : in
             * enter_time : 2017-01-19 16:57:12
             * fence_info : {"fence_center":"116.47253,39.992912","fence_gid":"31c94518-4145-4a94-9e7d-34cb027b4c96","fence_name":"测试大围栏"}
             */

            private String client_action;
            private String client_status;
            private String enter_time;
            private FenceInfoBean fence_info;

            public String getClient_action() {
                return client_action;
            }

            public void setClient_action(String client_action) {
                this.client_action = client_action;
            }

            public String getClient_status() {
                return client_status;
            }

            public void setClient_status(String client_status) {
                this.client_status = client_status;
            }

            public String getEnter_time() {
                return enter_time;
            }

            public void setEnter_time(String enter_time) {
                this.enter_time = enter_time;
            }

            public FenceInfoBean getFence_info() {
                return fence_info;
            }

            public void setFence_info(FenceInfoBean fence_info) {
                this.fence_info = fence_info;
            }

            public static class FenceInfoBean {
                /**
                 * fence_center : 116.47253,39.992912
                 * fence_gid : 31c94518-4145-4a94-9e7d-34cb027b4c96
                 * fence_name : 测试大围栏
                 */

                private String fence_center;
                private String fence_gid;
                private String fence_name;

                public String getFence_center() {
                    return fence_center;
                }

                public void setFence_center(String fence_center) {
                    this.fence_center = fence_center;
                }

                public String getFence_gid() {
                    return fence_gid;
                }

                public void setFence_gid(String fence_gid) {
                    this.fence_gid = fence_gid;
                }

                public String getFence_name() {
                    return fence_name;
                }

                public void setFence_name(String fence_name) {
                    this.fence_name = fence_name;
                }
            }
        }
    }
}
